import { createSSRApp } from 'vue'
import App from './App.vue'
import plugins from './plugins'
import router from './router'
import './styles/index.scss'
import { setupMixin } from './mixins'
// import uviewPlus from 'uview-plus'
// import * as uviewPlus from 'uview-plus'
// console.log(uni.$u.config.v);
export function createApp() {
    const app = createSSRApp(App)
// app.use(uviewPlus)
    // app.use(uviewPlus)
    setupMixin(app)
    app.use(plugins)
    app.use(router)
    return {
        app
    }
}
